package com.example.moblie2021606143cwj0323;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        EditText editTextAccount = findViewById(R.id.edtTxtMainAccount);
        EditText editTextpsw = findViewById(R.id.edtTxtMainPsw);
        EditText editTextPsw2 =findViewById(R.id.edtTxtMainPsw2);

        Button btnRegister = findViewById(R.id.btn_main_register);
        btnRegister.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                String strAccount=editTextAccount.getText().toString();
                String strpsw=editTextpsw.getText().toString();
                String strpsw2=editTextPsw2.getText().toString();
            }
        });

    }
}